Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reassigned variable warnings #102

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add reassigned variable warnings #102

wants to merge 1 commit into from

Conversation

sirbrillig
Copy link
Owner

@sirbrillig sirbrillig commented Jul 30, 2019

Work-in-progress. I'm not actually sure how to do this because the scoping is quite difficult. Assistance would be greatly appreciated!

Fixes #101

@sirbrillig sirbrillig marked this pull request as draft April 19, 2020 16:50
@szepeviktor
Copy link
Contributor

szepeviktor commented Jan 6, 2023

Could we detect if someone touches function/method parameters?

function foo(string $boo): void
{
    $boo = $boo . 'suffix';
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add reassigned variable warning
2 participants